package com.venusj.juc;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import java.util.concurrent.locks.Condition;
import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReentrantLock;

@SpringBootApplication
public class JucApplication {

    public static void main(String[] args) {


        SpringApplication.run(JucApplication.class, args);
    }

    private void test()
    {
        Lock lock = new ReentrantLock();
        Condition condition = lock.newCondition();
    }

}
